Release 10.1A: OpenEdge Development:
Internationalizing Applications
Creating an empty database in a particular code page
Here is another technique for producing an empty database in a particular code page. The technique is included here for completeness.
![]()
To create an empty database with a code page:
- Create an empty database, using the OpenEdge Data Dictionary utility.
- Within the OpenEdge distribution, select the
DLC/prolangdirectory for the target locale.For example, the
DLC/prolang/czedirectory contains files used for Czech databases, while theDLC/prolang/utfdirectory contains files used for Unicode databases.- Within the
DLC/prolangdirectory you selected, select the collation data definition (.df) file whose name corresponds to the target locale.These
.dffiles define database collations (as opposed to.dffiles that define database schemas). For example, theDLC/prolang/czedirectory contains the following collation data definition files:
cze1250.df, associated with the CZECH collation of code page 1250.cze852.df, associated with the CZECH collation of code page 852.Note: Thecze8859.df, associated with the CZECH collation of code page ISO8859-1.DLC/prolang/utfdirectory contains the collation data definition files for the International Components for Unicode (ICU) collations (such asICU-cs.dfused for Czech databases).- Confirm the collation name of the
.dffile you selected in Step 3 by viewing its contents using a text editor. Search for theCOLLATION-NAMEkeyword. The character string that follows is the name of the.dffile’s collation.- Load the
.dffile whose collation name you confirmed in Step 4 into the empty database you created in Step 1 using the following steps:
- Using the Data Administration tool, choose Admin
Load Data and Definitions (
.dffile). The Load Data Definitions dialog box appears.Note: The Data Administration tool calls- Enter the name of the data definition file into the Input File field, then choose OK.
.dffiles collation tables. The default is_tran.df, which contains the UTF-8 BASIC collation.- Rebuild the database’s indexes by running the
PROUTILutility with theIDXBUILDqualifier. The syntax is:
For the complete syntax of the
PROUTILutility, see OpenEdge Data Management: Database Administration .The empty database is now associated with the desired code page.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |